﻿using System;

/* 输入一个字母，判断是大写字母还是小写字母 */
namespace Practice1
{
    public class Practice
    {
        static string JudgeUpOrLow(char param1)
        {
            if (param1 >= 'A' && param1 <= 'Z')
            {
                return "Up";
            }
            else if (param1 >= 'a' && param1 <= 'z')
            {
                return "Low";
            }
            else
            {
                return "No Char";
            }
        }

        public static void Execute()
        {
            Console.Write("请输入一个字母: ");
            char param1 = Char.Parse(Console.ReadLine()!);
            Console.WriteLine($"res：{JudgeUpOrLow(param1)}");
        }
    }
}